<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.15"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>wickr-crypto-c: wickr_parse_result Struct Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">wickr-crypto-c
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.15 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-attribs">Data Fields</a>  </div>
  <div class="headertitle">
<div class="title">wickr_parse_result Struct Reference<div class="ingroups"><a class="el" href="group__wickr__protocol.html">Wickr Protocol</a></div></div>  </div>
</div><!--header-->
<div class="contents">

<p>result from parsing an inbound packet  
 <a href="structwickr__parse__result.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="protocol_8h_source.html">protocol.h</a>&gt;</code></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a>
Data Fields</h2></td></tr>
<tr class="memitem:a69a3ee332921b4fdbc0e07dbfa74a8ed"><td class="memItemLeft" align="right" valign="top">wickr_decode_error&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structwickr__parse__result.html#a69a3ee332921b4fdbc0e07dbfa74a8ed">err</a></td></tr>
<tr class="separator:a69a3ee332921b4fdbc0e07dbfa74a8ed"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a989166b5471898853f03b9e9c58f69c0"><td class="memItemLeft" align="right" valign="top">wickr_packet_signature_status&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structwickr__parse__result.html#a989166b5471898853f03b9e9c58f69c0">signature_status</a></td></tr>
<tr class="separator:a989166b5471898853f03b9e9c58f69c0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa35f9328b675b02426fd190ffcd45402"><td class="memItemLeft" align="right" valign="top"><a class="el" href="structwickr__key__exchange__set.html">wickr_key_exchange_set_t</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structwickr__parse__result.html#aa35f9328b675b02426fd190ffcd45402">key_exchange_set</a></td></tr>
<tr class="separator:aa35f9328b675b02426fd190ffcd45402"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab33e5d00121c229280bbee814ca7ef5a"><td class="memItemLeft" align="right" valign="top"><a class="el" href="structwickr__key__exchange.html">wickr_key_exchange_t</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structwickr__parse__result.html#ab33e5d00121c229280bbee814ca7ef5a">key_exchange</a></td></tr>
<tr class="separator:ab33e5d00121c229280bbee814ca7ef5a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a584d3b94e032f09188ee4006c067c180"><td class="memItemLeft" align="right" valign="top"><a class="el" href="structwickr__cipher__result.html">wickr_cipher_result_t</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structwickr__parse__result.html#a584d3b94e032f09188ee4006c067c180">enc_payload</a></td></tr>
<tr class="separator:a584d3b94e032f09188ee4006c067c180"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>result from parsing an inbound packet </p>
</div><h2 class="groupheader">Field Documentation</h2>
<a id="a584d3b94e032f09188ee4006c067c180"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a584d3b94e032f09188ee4006c067c180">&#9670;&nbsp;</a></span>enc_payload</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">wickr_parse_result::enc_payload</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>the encrypted payload of the message, to decrypt the payload you must call 'wickr_decode_result_from_parse_result' with the private key matching the 'ephemeral_key_id' from 'key_exchange' </p>

</div>
</div>
<a id="a69a3ee332921b4fdbc0e07dbfa74a8ed"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a69a3ee332921b4fdbc0e07dbfa74a8ed">&#9670;&nbsp;</a></span>err</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">wickr_parse_result::err</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>status of the parse operation </p>

</div>
</div>
<a id="ab33e5d00121c229280bbee814ca7ef5a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab33e5d00121c229280bbee814ca7ef5a">&#9670;&nbsp;</a></span>key_exchange</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">wickr_parse_result::key_exchange</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>if requested, a key exchange belonging to your node will be copied to this property and a failed search will lead to a decode error. If not requested key_exchange will be NULL </p>

</div>
</div>
<a id="aa35f9328b675b02426fd190ffcd45402"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa35f9328b675b02426fd190ffcd45402">&#9670;&nbsp;</a></span>key_exchange_set</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">wickr_parse_result::key_exchange_set</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>parsed key exchange set for the message after decrypting it with the header key </p>

</div>
</div>
<a id="a989166b5471898853f03b9e9c58f69c0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a989166b5471898853f03b9e9c58f69c0">&#9670;&nbsp;</a></span>signature_status</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">wickr_parse_result::signature_status</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>status of the message signature </p>

</div>
</div>
<hr/>The documentation for this struct was generated from the following file:<ul>
<li>src/wickrcrypto/include/wickrcrypto/<a class="el" href="protocol_8h_source.html">protocol.h</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.15
</small></address>
</body>
</html>
